package com.dsg.entity.config;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 導入導出映射配置主表
 * </p>
 *
 * @author system
 * @since 2020-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_config_mapping")
@ApiModel(value = "DsgConfigMapping对象", description = "導入導出映射配置主表")
public class DsgConfigMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "油公司")
    @TableField("OIL_COM")
    private String oilCom;

    @ApiModelProperty(value = "業務類型")
    @TableField("BIZ_TYPE")
    private Integer bizType;

    @ApiModelProperty(value = "導入/導出")
    @TableField("IN_OUT")
    private String inOut;

    @ApiModelProperty(value = "對應資料庫表名")
    @TableField("TABLE_NAME")
    private String tableName;

    @ApiModelProperty(value = "對應檔位置")
    @TableField("FILE_LOCATION")
    private String fileLocation;


}
